package oss.policy;



import details.entity.Wxuserdetails;
import wx.entity.Wxuser;

import java.io.Serializable;

public class Wxbottleurl implements Serializable {

    public Wxuser getWxuser() {
        return wxuser;
    }

    public void setWxuser(Wxuser wxuser) {
        this.wxuser = wxuser;
    }

    public Wxuser wxuser;
    public Wxuserdetails getWxuserdetails() {
        return wxuserdetails;
    }

    public void setWxuserdetails(Wxuserdetails wxuserdetails) {
        this.wxuserdetails = wxuserdetails;
    }

    private Wxuserdetails wxuserdetails;
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wxbottleurl.id
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wxbottleurl.url
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    private String url;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wxbottleurl.bottlepid
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    private Integer bottlepid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wxbottleurl.count
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    private Integer count;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wxbottleurl.openid
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    private String openid;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table wxbottleurl
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wxbottleurl.id
     *
     * @return the value of wxbottleurl.id
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wxbottleurl.id
     *
     * @param id the value for wxbottleurl.id
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wxbottleurl.url
     *
     * @return the value of wxbottleurl.url
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public String getUrl() {
        return url;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wxbottleurl.url
     *
     * @param url the value for wxbottleurl.url
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wxbottleurl.bottlepid
     *
     * @return the value of wxbottleurl.bottlepid
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public Integer getBottlepid() {
        return bottlepid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wxbottleurl.bottlepid
     *
     * @param bottlepid the value for wxbottleurl.bottlepid
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public void setBottlepid(Integer bottlepid) {
        this.bottlepid = bottlepid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wxbottleurl.count
     *
     * @return the value of wxbottleurl.count
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public Integer getCount() {
        return count;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wxbottleurl.count
     *
     * @param count the value for wxbottleurl.count
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public void setCount(Integer count) {
        this.count = count;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wxbottleurl.openid
     *
     * @return the value of wxbottleurl.openid
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public String getOpenid() {
        return openid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wxbottleurl.openid
     *
     * @param openid the value for wxbottleurl.openid
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wxbottleurl
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", url=").append(url);
        sb.append(", bottlepid=").append(bottlepid);
        sb.append(", count=").append(count);
        sb.append(", openid=").append(openid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wxbottleurl
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Wxbottleurl other = (Wxbottleurl) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
            && (this.getBottlepid() == null ? other.getBottlepid() == null : this.getBottlepid().equals(other.getBottlepid()))
            && (this.getCount() == null ? other.getCount() == null : this.getCount().equals(other.getCount()))
            && (this.getOpenid() == null ? other.getOpenid() == null : this.getOpenid().equals(other.getOpenid()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wxbottleurl
     *
     * @mbg.generated Mon Apr 11 08:39:53 UTC 2022
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
        result = prime * result + ((getBottlepid() == null) ? 0 : getBottlepid().hashCode());
        result = prime * result + ((getCount() == null) ? 0 : getCount().hashCode());
        result = prime * result + ((getOpenid() == null) ? 0 : getOpenid().hashCode());
        return result;
    }
}
